package com.springmvc.mapper;

import com.springmvc.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface Usermapper {
    @Select("SELECT * from tb_user where username=#{username} and password=#{password}")
    User getuserbyusernameandpassword(@Param("username") String name, @Param("password") String password);
}
